﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Backend/AdminLayout.master" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="Backend_Order_Default" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="AdminElegantFood" Runat="Server">
	<div class="panel-heading">
		<h3 class="panel-title">
			<span class="glyphicon glyphicon-shopping-cart"></span>គ្រប់គ្រងការបញ្ជាទិញ
		</h3>
	</div>
	<div class="panel-body">
		<asp:GridView ID="orderView" runat="server" AutoGenerateColumns="False" DataKeyNames="OrderID"
			OnSelectedIndexChanged="grid_SelectedIndexChanged" CssClass="table table-hover table-striped" GridLines="None">
			<Columns>
				<asp:BoundField DataField="OrderID" HeaderText="ល.រ" ReadOnly="True" SortExpression="OrderID" />
				<asp:BoundField DataField="OrderDate" DataFormatString="{0:d}" HeaderText="ថ្ងៃបញ្ជាទិញ" ReadOnly="True"
					SortExpression="DateCreated" />
				<asp:BoundField DataField="DateShipped" DataFormatString="{0:d}" HeaderText="ថ្ងៃដឹកជញ្ជូន"
					ReadOnly="True" SortExpression="DateShipped" />
				<asp:CheckBoxField DataField="Verified" HeaderText="បានពិនិត្យ" ReadOnly="True" SortExpression="Verified" />
				<asp:CheckBoxField DataField="Completed" HeaderText="រូចរាល់" ReadOnly="True" SortExpression="Completed" />
				<asp:CheckBoxField DataField="Canceled" HeaderText="លុបចោល" ReadOnly="True" SortExpression="Canceled" />
				<asp:BoundField DataField="CustomerName" HeaderText="ឈ្មោះអតិថិជន" ReadOnly="True"
					SortExpression="CustomerName" />
				<asp:ButtonField ButtonType="Button" CommandName="Select" Text="មើ់លលម្អិត" ControlStyle-CssClass="btn btn-warning btn-xs" />
			</Columns>
		</asp:GridView>
	</div>
</asp:Content>